package events
{
	import flash.events.Event;
	
	import valueObjects.Contact;
	
	public class ContactEvent extends Event
	{
		public static const EDIT:String = "editContact";
		public static const ADD:String = "addContact";
		public static const SAVED:String = "contactSaved";
		public static const DELETED:String = "contactDeleted";
	
		public var contact:Contact;
	
		public function ContactEvent(type:String, contact:valueObjects.Contact=null, bubbles:Boolean = true, cancelable:Boolean = true)
   		{
			super(type, bubbles, cancelable);
   			this.contact = contact;
		}
	}
}